#pragma once
#include "JPaneStageDCRender.h"
#include "JGame.h"
// CBoardView

class CBoardView : public CWnd
{
	DECLARE_DYNAMIC(CBoardView)

public:
	CBoardView();
	virtual ~CBoardView();

protected:
	JPaneStageDCRender* m_pRender;

	DECLARE_MESSAGE_MAP()
	afx_msg void OnPaint();

public:
	void	SetRender(JPaneStageDCRender* _pRender){ m_pRender = _pRender; }
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
};


